#ifndef BARCHARTVIEW_H
#define BARCHARTVIEW_H

#include <QWidget>
#include <QMap>
#define HANMEIMEI	QString::fromLocal8Bit("08:37")
#define LILEI		QString::fromLocal8Bit("08:38")
#define POLY		QString::fromLocal8Bit("08:39")
#define POLY1		QString::fromLocal8Bit("08:40")
#define POLY2		QString::fromLocal8Bit("08:41")
#define POLY3		QString::fromLocal8Bit("08:42")
#define POLY4		QString::fromLocal8Bit("08:43")

namespace Ui {
class BarChartView;
}

class BarChartView : public QWidget
{
    Q_OBJECT

public:
    explicit BarChartView(QWidget *parent = nullptr);
    ~BarChartView();

    void setData(QMap<QString, QMap<QString, long long> > mapData);
private:
    Ui::BarChartView *ui;


    QMap<QString, QMap<QString, long long>> scores;
};

#endif // BARCHARTVIEW_H
